//
//  LKMyShopDetailPriceCell.m
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/5/26.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKMyShopDetailPriceCell.h"

@interface LKMyShopDetailPriceCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
@property (weak, nonatomic) IBOutlet UILabel *numbersLabel;


@end


@implementation LKMyShopDetailPriceCell


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setIsAgent:(BOOL)isAgent{
    _isAgent = isAgent;
    if (_isAgent) {
        self.moneyLabel.hidden = YES;
        
    }
}
-(void)setTradeCountSonModel:(LKMyTradeCountSonModel *)tradeCountSonModel{
    _tradeCountSonModel = tradeCountSonModel;
    self.nameLabel.text = _tradeCountSonModel.name;
    self.moneyLabel.text = _tradeCountSonModel.value;
    self.numbersLabel.text = _tradeCountSonModel.percentage;
}
-(void)setPayinforModel:(LKPayInforModel *)payinforModel{
    _payinforModel = payinforModel;
    self.nameLabel.text = _payinforModel.pay_style;
    self.moneyLabel.text = _payinforModel.amount;
    self.numbersLabel.text = _payinforModel.number;
}

-(void)setPayStyle:(NSString *)payStyle{
    _payStyle = payStyle;
    self.nameLabel.text = _payStyle;
}
-(void)setRates:(NSString *)rates{
    _rates = rates;
    self.numbersLabel.text = _rates;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
